package com.sq.partner.manager.common;

/**
 * 公共变量初使化类  用于统一程序内部变量命名
 * @author sankun
 *
 */
public class Constants {
	public static final int PAGE_SIZE = 10;
	public static final String BEGINROW = "BEGINROW";
	public static final String ENDROW = "ENDROW";
	
	public static final String SESSION_USER = "gateway_session_user";
	public static final String USER_PASSWORD = "123456";
	public static final String DEPT_URI = "dept_uri";
	public static final String SESSION_CHECK_PATTERN = "session_check_pattern";
	//系统在单点登陆系统中的帐号APP名
	public static final String APP_ID_IN_UM = "CPTP";
	public static final String SSO_LOGOUT_URL = "SSO_LOGOUT_URL";
	
	//
	public static final String LOGIN_SWITCH_VALUE = "LOGIN_SWITCH_VALUE";
	/**上线产品方案号修改，st上线产品规则*/
	public static final String PTN_ENV = "PTN_ENV";
	public static final String SWITCH_VALUE_LOCAL = "1";//本地登陆
	public static final String SWITCH_VALUE_UM = "2";//UM登陆
	public static final String SWITCH_VALUE_SSO = "3";//单点登陆
	public static final String UM_USER_STATUS_LOCKED = "L";//单点登陆
	public static final String REFRESH_CACHE_URLS ="REFRESH_CACHE_URLS";//刷新界面出单系的缓存的url
	/**
	 * 字典属性
	 */
	/** 字典表类型：证件类型 */
	public static final String DICT_ID_TYPE = "id_type";
	/** 字典表类型：是和否 */
	public static final String YN_FLAG = "yn_flag";
	/** 字典表类型：交易类型 */
	public static final String DICT_NLIFE_USERNATRUE = "useNatureName";
	/** 字典表类型：交易类型 */
	public static final String DICT_TRANS_NO = "trans_no";
	/** 字典表类型：性别 */
	public static final String DICT_GENDER = "gender";
	/** 字典表类型：人员关系 */
	public static final String DICT_RELA = "rela";
	/** 字典表类型：投保类型 */
	public static final String DICT_FACADE_APP_TYPE = "facade_app_type";
	/** 字典表类型：产品类型 */
	public static final String DICT_PROD_TYPE = "prod_type";
	/** 字典表类型：共保选项 */
	public static final String DICT_POL_POOL_TYPE = "pol_pool_type";
	/** 字典表类型：共保角色 */
	public static final String DICT_POOL_ROLE = "pool_role";
	
	// added by guozizhou@20150409 for bei jing code begin
	public static final String DICT_NEW_LIFE_POL_POOL_TYPE = "NLIFE_CON_FLAG";
	/** 字典表类型：企业性质*/
	public static final String DICT_UNIT_TYPE = "unit_type";
	/** 字典表类型： 单位证件类型数据*/
	public static final String DICT_COM_ID_TYPE = "com_id_type";
	/** 字典表类型：行业性质*/
	public static final String DICT_INDUSTRY_TYPE = "industry_type";
	/** 字典表类型：合作伙伴分类 */
	public static final String DICT_CHANNEL_SORT = "channel_sort";
	/** 字典表类型：新意健险合作伙伴渠道分类 */
	public static final String CHANNEL_CLASSIFICATION = "channel_classification";
	
	/** 字典表类型：查询一级地址省的条件入参*/
	public static final String DICT_PROVINCE_CODE = "00";
	public static final String DICT_RISK_CAL_TYPE = "nocar_risk_cal_type";
	public static final String DICT_NEW_BUSINESS_SOURCE = "new_business_source";// 新业务来源
	public static final String DICT_OLD_BUSINESS_SOURCE = "old_business_source";// 旧业务来源
	public static final String DICT_BELONG_TO_CHANNEL = "belong_to_channel";// 所属渠道
	public static final String DICT_CHANNEL_TYPE = "channel_type";// 渠道类型
	public static final String DICT_INSURE_VAL_AFF_TYP = "insure_val_aff_typ";// 保险价值确定方式
	public static final String DICT_INSURE_VAL_AFF_012B = "insure_val_aff_012b";// 012B保险价值确定方式
	public static final String DICT_INSURE_ITEM_012A = "insure_item_012a";// 012A保险项目
	public static final String DICT_INSURE_ITEM_012B= "insure_item_012b";// 012A保险项目
	public static final String DICT_INSURE_ITEM_090C = "insure_item_090c";// 012A保险项目
	public static final String DICT_INSURE_ITEM_081F="insure_item_081f";//081f保险项目
	public static final String DICT_MASTER_080B="mastter_type";//080B标的信息
	public static final String DICT_AGENT_TYPE="agent_type";//代理类型
	public static final String DICT_NOCAR_AGENT_TYPE="nocar_agent_type";//财险代理类型
	public static final String DICT_SALE_AGENT_TYPE="sale_agent_type";//代理类型
	public static final String HQ_BRANCH_CODE = "'00'";//
	public static final String DICT_INSURE_COMPANY_TYPE = "insure_company";//保险公司dict
	public static final String DICT_INSURE_PERIOD="insure_period";//保险期间
	public static final String DICT_NLIFE_INSURE_PERIOD="nlife_insure_period";//保险期间
	public static final String DICT_NOTICE_TYPE_OPTIONS="NOTICE_TYPE";//广播类型
	public static final String DICT_NOTICE_STATUS_OPTIONS="NOTICE_STATUS";//广播状态
	public static final String DICT_NOTICE_PRI_OPTIONS="NOTICE_PRI";//广播优先级
	public static final String DICT_RECEIPT_TYPE_OPTIONS="RETURN_RECEIPT_TYPE";//回执类型
	public static final String DICT_NOCAR_RECEIPT_TYPE="NOCAR_RECEIPT_TYPE";//财险回执类型
	public static final String DICT_NOCAR_EDRNO_TYPE="nocar_edrno_type";//财险电子批单类型
	public static final String DICT_DICPUTE_TYPE="NLife_ArgueSolution";//争议解决方式
	public static final String DICT_ARBITRATION_DEPT="NLife_ArbitraryBoard";//仲裁委员会名称
	public static final String DICT_WEID_TYPE="weid_type";//维度
	public static final String DICT_CAR_USE_NATURE="usenature";//车辆使用类型
	public static final String DICT_UNION_TYPE="union_type";//联合出单方案
	public static final String DICT_SALE_MEN_TYPE="sale_men_type";//财险人员类别
	public static final String DICT_SALES_TYPE="sales_type";//财险销售员类别
	public static final String DICT_FILE_TYPE="file_type";//电子保单文件方式
	public static final String DICT_PAY_EINVOICE="PAY_EINVOICE";//发票购方,1,投保人2,被保人3,接口传入
	public static final String DICT_ROLE_STYPE="role_stype";//新意健险销售人员类别
	public static final String DICT_IS_AGENT="is_agent";//跟单费用配置是否代理业务
	public static final String DICT_NLIFE_ELECODETYPE="NLife_EleCodeType";/**麻醉类型*/
	public static final String DICT_NLIFE_OPS = "NLife_Operation";/**手术类型*/
	public static final String DICT_NLIFE_CARTYPE="NLife_CarType"; /**车辆类型*/
	public static final String DICT_CALL_TYPE="call_type"; /**算法规则*/
	public static final String DICT_NLIFESALE_CHANNEL="nlifesale_channel";//新意健险跟单费用配置业务来源

	public static final String DICT_SALE_CHANNEL_SOURCE="sale_channel_source";//财险跟单费用配置业务来源
	public static final String DICT_NOCAR_PRODUCT_TYPE="nocar_product_type";//财险跟单费用配置产品大类
	public static final String DICT_PRODUCT_TYPE="product_type";//跟单费用配置产品大类
	public static final String MESSAGETEMPLATE_TYPE="01";//承保短信类型
	public static final String CANCELTEMPLATE_TYPE="02";//注销短信类型
	public static final String DICT_SPECIAL_INFO_TYPE="SPECIAL_INFO_TYPE";//新意健险特殊产品
	public static final String DICT_EPOLICY_LIST="epolicyList";//电子保单模板列表
	public static final String DICT_NOCAR_WEID_TYPE="nocar_weid_type";//维度
	public static final String DICT_VHL_NLIFE_CAR="VHL_NLIFE_CAR";//车驾意车辆类型转换
	public static final String DICT_NLIFE_ACC_TYPE="nlife_acc_type";//新意健险附件发送方式
	public static final String DICT_SECURITY_PLAN="security_plan";//保障计划
	public static final String DICT_PAYMENT_TYPE_OPTIONS =  "PAYMENT_TYPE";//分期类型
	public static final String DICT_BUSINESS_NATURE_1 =  "BUSINESS_NATURE_1";//业务来源1
	public static final String DICT_BUSINESS_NATURE_2 =  "BUSINESS_NATURE_2";//业务来源2
	public static final String DICT_BUSINESS_NATURE_3 =  "BUSINESS_NATURE_3";//业务来源3
	public static final String DICT_GREEN_INDUSTRY_FRIST =  "GREEN_INDUSTRY_FRIST";//绿色产业标识一级
	public static final String DICT_GREEN_INDUSTRY_SECOND =  "GREEN_INDUSTRY_SECOND";//绿色产业标识二级
	public static final String TX_CHANNEL_1ST =  "TX_CHANNEL_1ST";
	public static final String TX_CHANNEL_2ND =  "TX_CHANNEL_2ND";
	public static final String TK_FLAG =  "TK_FLAG";
	public static final String INVOICE_TYPE =  "INVOICE_TYPE";
	
	// added by guozizhou@20150409 for bei jing code end
	//20180607 add by lihongx 激活卡状态
	/** 库存*/
	public static final String ACTIR_CARD_STOCK="0";//库存
	/** 上交*/
	public static final String ACTIR_CARD_HAND_UP="1";//上交
	/** 下发*/
	public static final String ACTIR_CARD_HAND_DOWN="2";//下发
	/** 已关联出单方案*/
	public static final String ACTIR_CARD_RELATION="3";//已关联出单方案
	/** 可激活=已缴费*/
	public static final String ACTIR_CARD_ACTIVABLE="4";//可激活=已缴费，有价单证为已缴费/可激活，非有价为可激活
	/** 已激活*/
	public static final String ACTIR_CARD_ACTIVABLE_USED="5";//已激活
	/** 作废*/
	public static final String ACTIR_CARD_WASTE="6"; //作废
	/** 锁定*/
	public static final String ACTIR_CARD_LOCK="7"; //锁定状态，退卡审核可以锁定不可使用
	/**异常*/
	//public static final String ACTIR_CARD_EXCEPTION="8"; //异常状态
	/**过期*/
	public static final String ACTIR_CARD_OVERDUE="9"; //过期，自动过期
	//激活卡申请状态
	/**申请*/
	public static final String ACTIR_CARD_APPLY_SQ="0";
	/**复核通过*/
	public static final String ACTIR_CARD_APPLY_FY="1";
	/**复核不通过*/
	public static final String ACTIR_CARD_APPLY_FN="2";
	/**核准通过,生成激活卡*/
	public static final String ACTIR_CARD_APPLY_HY="3";
	/**核准不通过*/
	public static final String ACTIR_CARD_APPLY_HN="4";
	//出库申请状态
	/**未收付*/
	public static final String ACTIR_CARD_OUTBOUND_NOPAY="0";
	/**已收付*/
	public static final String ACTIR_CARD_OUTBOUND_PAY="1";
	/**出库取消 */
	public static final String ACTIR_CARD_OUTBOUND_CANCLE="2";

	public static final String COMMAMT_FEE = "CF"; // 代理人与业务员费用表ID
	//退卡状态
	/** 申请*/
	public static final String ACTIR_CARD_RETURN_APPLY="0";
	/** 复核不通过*/
	public static final String ACTIR_CARD_RETURN_DISAGREE="1";
	/** 复核通过*/
	public static final String ACTIR_CARD_RETURN_AGREE="2";
	//缴费状态
	//已缴费
	public static final String PAY_MARK_Y="Y";
	//未缴费
	public static final String PAY_MARK_N="N";
	/**
	 * 激活卡角色名称匹配字段
	 */
	public static final String ACTIR_CARD_ROLE="JHK_";
	public static final String ACTIR_CARD_ROLE_ZGS="JHK_总公司";
	public static final String ACTIR_CARD_ROLE_GLY="JHK_管理员";
	
	/**
	 * 激活卡权限位数对应的权限
	 */
	/**激活卡申请*/
	public static final String ACTIR_CARD_POWER_APPLY="1";
	/**激活卡复核*/
	public static final String ACTIR_CARD_POWER_REVIEW="2";
	/**激活卡核准和导出excel*/
	public static final String ACTIR_CARD_POWER_APPROVAL="3";
	/**激活卡延期*/
	public static final String ACTIR_CARD_POWER_DELAY="4";
	/**激活卡退卡申请*/
	public static final String ACTIR_CARD_POWER_BACKAPPLY="5";
	/**激活卡退卡审批*/
	public static final String ACTIR_CARD_POWER_BACKAPP="6";
	/**
	 * 激活卡模板
	 */
	/**启用*/
	public static final String ACTIR_CARD_ISBEGIN="1";
	/**停用*/
	public static final String ACTIR_CARD_ISNOTBEGIN="0";
	
	/**
     * 保单状态
     */
    public static final String POL_STATUS_01 = "01";// 未投保 
    public static final String POL_STATUS_02 = "02";// 投保成功 已生成保单号
    public static final String POL_STATUS_04 = "04";// 注销 
    public static final String POL_STATUS_11 = "11";// 待支付 
    public static final String POL_STATUS_12 = "12";// 支付完成
    public static final String POL_STATUS_13 = "13";// 支付失败 
    public static final String POL_STATUS_14 = "14";// 出单失败 
    public static final String POL_STATUS_99 = "99";// 删除
    
    /**
     * 投保方式
     */
    public static final String FACADE_APP_TYPE = "1";               //人险团单
    public static final String NO_CAR_FACADE_APP_TYPE = "2";        //非车险
    public static final String SINGLE_FACADE_APP_TYPE = "4";        //人险个单
    public static final String DRIVE_FACADE_APP_TYPE = "5";         //驾乘险 
    public static final String NLIFE_SINGLE_FACADE_APP_TYPE = "6";  //新人险个单
    public static final String NLIFE_GROUP_FACADE_APP_TYPE = "7";   //新人险团单
    public static final String NLIFE_DRIVER_FACADE_APP_TYPE = "8";   //新人险驾乘险
    public static final String NLIFE_BORROW_FACADE_APP_TYPE = "9";   //新人险借意险
    
    /**
     * 支付表支付状态说明
     **/
    public static final String PAYMENT_STATUS_1="1";//待支付状态
    public static final String PAYMENT_STATUS_2="2";//支付成功状态
    public static final String PAYMENT_STATUS_3="3";//支付失败状态
    public static final String PAYMENT_STATUS_4="4";//处理中状态
    
    /**
     * 产品类型
     */
    public static final String PROD_TYPE_NLIFE = "3";// 新意健险
    
    public static final String GW_CH_TX_1010 = "CIC1010"; //新意健险试算接口
    public static final String GW_CH_TX_T01="CIC001";//新意健险投保接口
    public static final String GW_CH_TX_T03="CIC003";//新意健险险缴费确认接口
    public static final String GW_CH_TX_2103="2103";//激活卡缴费传收付接口（2103）
	public static final String GW_CH_TX_PS009 = "PS009";
    public static final String NLIFE_TRIAL_URL = "nlife.trial.url";//合作伙伴新意健险URL
    public static final String NLIFE_T1010_TEMPLATES = "nlife.T1010.templates";//合作伙伴新意健险保费试算接口模板
    public static final String NLIFE_T01_TEMPLATES = "nlife.T01.templates";//合作伙伴新意健险保费试算接口模板
    public static final String NLIFE_T03_TEMPLATES = "nlife.T03.templates";//合作伙伴新意健险缴费确认接口模板
    public static final String PAY_2103_TEMPLATES = "pay.2103.templates";//激活卡缴费传收付接口模板
    public static final String NLIFE_STATUS_CODE = "00";//调用合作伙伴新意健险接口成功返回code
    public static final String NLIFE_WEBSERVICE_USER_NAME = "nlife.webservice.user_name";
    public static final String NLIFE_WEBSERVICE_USER_PSW = "nlife.webservice.user_psw";
    public static final String NLIFE_TO_PAY_WEBSERVICE_URL = "nlifetopay.webservice.Url";//收付系统URL
    public static final String RECEIPT_WEBSERVICE_USER_NAME = "receipt.webservice.user_name";//回传收付接口用户名
    public static final String RECEIPT_WEBSERVICE_USER_PSW = "receipt.webservice.user_psw";//回传收付接口密码
    public static final String GW_CH_TX_PS014 = "PS014"; //发票推送接口
    public static final String GW_CH_TX_2016 = "2016"; //保单推送接口
	public static final String GW_CH_TX_PS017 = "PS017"; //发票查询接口
    public static final String NLIFE_EINVINCE_PS009 = "nlife.PS009.templates"; //申请发票接口
	public static final String GW_CH_TX_30005 = "30005"; //销管校验接口
	public static final String GW_CH_TX_P1033 = "P1033"; //保单终止接口


    /**
     * 网销支付类型定义
     **/
    public static final String WX_CHINAPAY = "1";   //中国银联
    public static final String WX_CHINANCPAY = "11";    //中国银联无卡支付
    public static final String WX_BIll99 = "3"; //快钱支付
    public static final String WX_TENPAY = "4";//财付通
    public static final String WX_ALIPAY = "5";//支付宝
    public static final String WX_BIll99WAP = "6";//WAP快钱支付
    public static final String WX_WECHAT = "7"; //微信支付 
    public static final String WX_SHYL="12";//上海银联（上海车险）
    public static final String WX_FSHYL="13";//非上海银联
    public static final String WX_ZSGH="110";//招商聚合
    public static final String WX_ZXGH="111";//中信聚合
    public static final String WX_TLDK="112";//通联代扣
    
    public static final String WX_YEEPAY = "2"; //中国易宝  
    public static final String WX_ALIPAYWAP = "8";//WAP支付宝
    public static final String WX_UNIONPAY="10";//WAP银联在线支付
    
    /**
     * 新意健险缴费类型定义
     **/
    public static final String PAYMODE_POS = "1";   //POS机
    public static final String PAYMODE_CASH = "2";  //现金
    public static final String PAYMODE_CHEQUE = "3";    //支票
    public static final String PAYMODE_COMMON = "4";    //网银
    public static final String PAYMODE_OTHER = "99";    //其他
    
    /**
     * 支付凭证类型定义
     **/
    public static final String SALE_CHANNEL_FLAG_POS = "1"; //POS机
    public static final String SALE_CHANNEL_FLAG_COMMON = "2";  //普通网银
    public static final String SALE_CHANNEL_FLAG_SPECIAL = "3"; //特殊网银
    
    /**
     * 对接交易系统支付类型定义
     **/
    public static final String PAYMENT_TYPE_0000="0000";//支付宝
    public static final String PAYMNET_TYPE_0001="0001";//微信
    public static final String PAYMNET_TYPE_0002="0002";//QQ钱包
    public static final String PAYMNET_TYPE_0003="0003";//蚂蚁金服业务
    public static final String PAYMNET_TYPE_0004="0004";//蚂蚁金服红包业务(保费赠送)
    public static final String PAYMNET_TYPE_0005="0005";//易付宝缴费
    public static final String PAYMNET_TYPE_0006="0006";//天猫旗舰店业务
    public static final String PAYMNET_TYPE_0007="0007";//京东
    
    public static final String PAYMNET_TYPE_WY01="WY01";//网银/银联/快钱
    public static final String PAYMNET_TYPE_QT_WY01="WY01";//其他    
    
    /**
     * 新意健险  payMode(支付类型) 通用常量
     */
    public static final String PAYMODE_TYPE_019="019";
    public static final String PAYMODE_TYPE_016="016";
    public static final String PAYMODE_TYPE_017="017";
    public static final String PAYMODE_TYPE_018="018";
    public static final String PAYMODE_TYPE_110="110";
    public static final String PAYMODE_TYPE_111="111";
    public static final String PAYMODE_TYPE_112="112";
    
    /**
     * 个性化产品类型
     */
    public static final String PROD_TYPE_1 = "1";//学平险
    public static final String PROD_TYPE_2 = "2";//驾乘险
    public static final String PROD_TYPE_3 = "3";//旅意险
    public static final String PROD_TYPE_4 = "4";//航意旅意险
    public static final String PROD_TYPE_5 = "5";//建工险
    public static final String PROD_TYPE_6 = "6";//借款人意外险
    public static final String PROD_TYPE_7 = "7";//乘意险
    public static final String PROD_TYPE_8 = "8";//附加高铁延误险
    public static final String PROD_TYPE_9 = "9";//驾意险

    /** 支付合作验证码*/
    public static final String FACADE_PAYMENT_KEY = "FACADE_PAYMENT_KEY";
    
    // 集中收款平台对接 2019/03/12 zhouxx start
    /**
     * 新支付表收付款状态说明
     **/
    public static final String NEW_PAYMENT_STATUS_1="1";//未收款
    public static final String NEW_PAYMENT_STATUS_2="2";//已收款
    public static final String NEW_PAYMENT_STATUS_3="3";//收款失败
    public static final String NEW_PAYMENT_STATUS_4="4";//收款中
    
    public static final String NEWPAY_2103_TEMPLATES = "newpay.2103.templates";//激活卡新支付方式传收付接口模板
    public static final String NEWPAY_TYPE_3 = "3";   //快钱支付
    public static final String NEWPAY_TYPE_7 = "7";   //微信支付
    public static final String NEWPAY_TYPE_13 = "13"; //银联支付
    // 集中收款平台对接 2019/03/12 zhouxx end
    public static final String CAR_PARTNER = "CarPartner";
	public static final String CAR_DICT_OLD_BUSINESS_SOURCE = "car_old_business_source";// 旧业务来源
	public static final String INSAIC_NLIFE_SWITCH = "INSAIC_NLIFE_SWITCH";//上汽车加意开关
	public static final String CAR_SALE_MEN_TYPE="SaleMenType_Car";//车险人员类型
	public static final String CAR_SALES_TYPE="carSalesType_car";//车险销售员类别
	private Constants(){}
}
